<?php
namespace ChannelThrift\Service;

use Base\BaseService;

class EmployeeService extends BaseService {
    Protected $autoCheckFields = false;
    public  $connection = 'DB_AUMS';
    public $tablePrefix = 'au_';

    /**
     * 用户详细BY id
     * @param $id int 用户ID
     * @return   Object
     */
    public static function user_info_id($id)
    {
        $m = D("ChannelThrift/Aums/Employee");
        $info = $m->where("emp_id='".$id."'")->find();
        return $info;
    }



}
